package com.right.entity;

public class Comment {

	private int commentid;
	private String orderid;
	private String judge;
	private String content;
	private String commenttime;

	/**
	 * @return the commentid
	 */
	public int getCommentid() {
		return commentid;
	}

	/**
	 * @param commentid the commentid to set
	 */
	public void setCommentid(int commentid) {
		this.commentid = commentid;
	}

	/**
	 * @return the orderid
	 */
	public String getOrderid() {
		return orderid;
	}

	/**
	 * @param orderid the orderid to set
	 */
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	/**
	 * @return the judge
	 */
	public String getJudge() {
		return judge;
	}

	/**
	 * @param judge the judge to set
	 */
	public void setJudge(String judge) {
		this.judge = judge;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the commenttime
	 */
	public String getCommenttime() {
		return commenttime;
	}

	/**
	 * @param commenttime the commenttime to set
	 */
	public void setCommenttime(String commenttime) {
		this.commenttime = commenttime;
	}

	public Comment(int commentid, String orderid, String judge, String content, String commenttime) {
		super();
		this.commentid = commentid;
		this.orderid = orderid;
		this.judge = judge;
		this.content = content;
		this.commenttime = commenttime;
	}
	
	public Comment( String orderid, String judge, String content, String commenttime) {
		super();
		
		this.orderid = orderid;
		this.judge = judge;
		this.content = content;
		this.commenttime = commenttime;
	}

	public Comment() {
	}

	@Override
	public String toString() {
		return "Comment [commentid=" + commentid + ", orderid=" + orderid + ", judge=" + judge + ", content=" + content
				+ ", commenttime=" + commenttime + "]";
	}

}
